<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2023/4/29
  Time: 23:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
<%--    <script src="/js/jquery.js" type="text/javascript"></script>--%>
    <script src="/js/jquery.js" ></script>
</head>

<body>


<div class="formbody">

    <div class="formtitle"><span>借阅书籍</span></div>
    <form action="/lendListServlet" id="From">
        <ul class="forminfo">
            <input type="hidden" name="cardId" value="${requestScope.cardId}">
            <input type="hidden" name="type" value="borrow">
            <li><label>选择借阅的书籍</label>
                <select name="bookId" class="dfinput" >
                    <c:forEach items="${books}" var="book">
                        <option value="${book.id}">${book.bookName}</option>
                    </c:forEach>
                </select>
            </li>
            <li>
                <label>&nbsp;</label>
                <input name="" type="submit" id="btn" class="btn" value="确认保存"/>
            </li>
        </ul>
    </form>



</div>
</body>
</html>